package java复习202408.A_String相关验证;

import org.junit.jupiter.api.Test;

public class a1_StringBufferAndBuild {

    @Test
    public void test1(){
        // sb的方法大都 由synchronized关键字修饰
        StringBuffer sb = new StringBuffer();
        sb.append("22");

        StringBuilder sbd = new StringBuilder();
        sbd.append("build");


    }
}
